package cn.iocoder.yudao.module.train.controller.admin.viplevel.vo;

import cn.iocoder.yudao.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 会员等级设定分页 Request VO")
@Data
public class VipLevelReqVO {

    @Schema(description = "id", example = "1")
    private Integer id;
    @Schema(description = "等级名称", example = "张三")
    private String levelName;

    @Schema(description = "会员时长")
    private String duration;

    @Schema(description = "会员价格", example = "26130")
    private BigDecimal price;

    @Schema(description = "会员权益说明")
    private String vipRights;

    @Schema(description = "会员启用状态（0-未启用，1-已启用）", example = "2")
    private Integer status;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}
